interface FetchCouponModalListAPIResData {
  code: number
  msg: string
  time: string
  data: Coupon[]
}

export function fetchCouponModalListAPI(token: string) {
  return httpInstance.get<FetchCouponModalListAPIResData>(
    '/api/coupon/startcouponlist',
    { headers: { token } },
  )
}
